Pacemaker event queue to control device processor operating power

ABSTRACT

In the present disclosure, conservation of an implantable medical device power supply of is facilitated by controlling the power consumption of the device&#39;s processing component. The power supplied to the processing component is controlled to enable processing of received events as a function of predetermined criteria rather than the actual occurrence of the events which is frequent, but irregular. Accordingly, the need for the processing component to start and stop (and thereby be fully powered on each start) with receipt of each event is obviated thereby maintaining the power consumption of the processing component and increasing longevity of the device. Event data associated with received events is stored in an event queue and subsequently retrieved and transmitted for processing based on predetermined criteria. The power supplied during an idle state of the processing component may be reduced in relation to the power supplied during a wake up state.

FIELD

This disclosure relates generally to implantable medical devices and,more particularly, to control of power consumption.

BACKGROUND

The technology explosion in the implantable medical device (IMD)industry has resulted in many new and innovative devices and methods foranalyzing the health of a patient and/or providing therapies to improvequality of life. IMDs include pacemakers, implantablecardioverter-defibrillators (ICDs), neural stimulators, drugadministering devices, monitors, etc. State-of-the-art IMDs are capableof performing significantly more complex tasks and are vastly moresophisticated and complex than earlier IMDs and their therapeuticbenefits have been well established.

There are many IMDs that provide data acquisition of importantphysiologic data from a human body, e.g. cardiac IMDs that acquirecardiac data. Such cardiac IMDs include implantable heart monitors thatonly monitor and acquire cardiac data and therapy delivery IMDs thatboth acquire cardiac data and provide appropriate therapies, such assingle chamber, dual chamber, and bi-ventricular pacemakers, ICDs thattypically incorporate pacing systems for treating bradycardia andtachyarrhythmias, and cardiomyostimulators. The therapy delivery cardiacIMDs comprise an implantable pulse generator (IPG) that is coupled withone or more electrical medical lead bearing electrodes for sensing theinter-cardiac or remote electrogram (EGM) and/or delivering pacingpulses or cardioversion/defibrillation shocks to the heart.

Cardiac IMDs and other IMDs can include the capability of communicating,through radio frequency telemetry transmissions, with external medicaldevices to enable programming and interrogation of the IMD throughdownlink telemetry transmissions and to enable uplink telemetrytransmissions of data from the IMD to the external medical device.

Cardiac IPGs and monitors as well as other IMDs are powered by aninternal power source, typically one or more batteries, that serves avariety of functions, including, but not limited to, supplying power toelectronic components and circuitry and charging high voltage capacitorsthat are discharged through medical electrical leads into the heart toregulate heart rhythms. The functional sophistication and complexity ofthe IMD operating systems powered by the battery have increased over theyears. Battery powered IMDs must be replaced when the battery becomedepleted, and therefore conserving battery power is important tomaintain or prolong the life of the IMD. Therefore, much effort has beendevoted to increasing conservation of battery resources.

The IMD electronics include a microcontroller that is operated inaccordance with stored software, or firmware, or a combination of both.Generally, the microcontroller is programmed to respond to events asthey are detected by other discrete components of the IMD electronics.With each response to the events, the depletion of the battery isincreased. What is needed are power conservation techniques thatoptimize the operation of the microcontroller as a function ofresponding to the events.

SUMMARY

Generally, the disclosure enables optimization of power consumption byan implantable medical device (“IMD”). The disclosure may be embodied inan IMD of the type performing monitoring of a physiologic state and/ortherapy delivery under the control of a control unit such for example asa microcontroller or microprocessor. In order to extend the life of theIMD, it is generally desired to reduce the power consumption of thecontrol unit. One such reduction can be achieved by providing power tothe control unit only during a processing operation and withholding thesupply of power or substantially reducing the delivered power levelduring an idle state.

Accordingly, one embodiment of the disclosure includes providing powerat a first power level to a processor during a first state and providingpower at a second power level to the processor in response to a controlsignal. The control signal may be generated based on predeterminedcriteria to enable processing of data by the processor.

In an embodiment, an event is detected by sense circuitry of the IMD anddata associated with the event is stored in a memory location such as anevent queue. The stored data may include the pertinent eventinformation, a time stamp and a classification of the event. The eventsmay be stored in any desired pattern and retrieved in any preferredmanner such, for example, as first-in first-out, first-in last-out, orrandomly.

In an embodiment, a head pointer may be utilized to track the eventsstored in the queue, and a tail pointer may track the events transferredto the processor to be processed. An interrupt signal may be generatedin response to predetermined criteria to initialize transfer of theevent data to the processing component. Examples of such criteria mayinclude the number of events between tail pointer and head pointerexceeding a programmed count, receipt of an event identified in a givencategory, or storage of events within a given time window.

In yet another embodiment, a first clock signal is provided to theprocessor during the idle state and a second clock signal is providedresponsive to the interrupt signal. In an example, the first clocksignal may be significantly slower in comparison to the second clocksignal.

Accordingly, the techniques of the present disclosure provide theflexibility to control how frequently the control unit starts and stopsrunning, based on the need for processing of event information and assuch facilitate power-savings of the battery resources of an IMD.

The foregoing has outlined rather broadly certain features and/ortechnical advantages in order that the detailed description that followsmay be better understood. Additional features and/or advantages will bedescribed hereinafter which form the subject of the claims. It should beappreciated by those skilled in the art that the conception and specificembodiment disclosed may be readily utilized as a basis for modifying ordesigning other structures for carrying out the same purposes. It shouldalso be realized by those skilled in the art that such equivalentconstructions do not depart from the spirit and scope of the appendedclaims. The novel features, both as to organization and method ofoperation, together with further objects and advantages will be betterunderstood from the following description when considered in connectionwith the accompanying figures. It is to be expressly understood,however, that each of the figures is provided for the purpose ofillustration and description only and is not intended as a definition ofthe limits of the appended claims.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates an exemplary implantable medical system;

FIG. 2 depicts a block diagram of one exemplary embodiment of electroniccircuitry for an implantable medical device (IMD);

FIG. 3 illustrates an external programmer associated with the IMD;

FIG. 4 illustrates a block diagram of one embodiment of an IMD;

FIGS. 5 and 6 depict alternative embodiments of an event queue;

FIG. 7 illustrates a method for acquisition and storage in an eventqueue of data associated with an event; and

FIG. 8 depicts a flow chart describing the steps of utilizing an eventqueue.

DETAILED DESCRIPTION OF THE DRAWINGS

Implantable medical devices (“IMD”) include electronics having acombination of ultra-low power micro-electronic circuits and a low-powermicrocontroller to obtain the desired combination of flexibility andlongevity. The microcontroller provides feature flexibility and themicroelectronics keep the power consumption at a minimum.

Within the IMD, there are many discrete processes involving collecting,storing, and presenting physiologic trends of a patient, as well as indelivering therapies (e.g., a cardiac therapy). The battery locatedwithin the IMD provides the power necessary for performing suchoperations. The components utilized for performing each of the variousoperations draws a threshold amount of power (power level) from thefinite source battery to perform its intended operation. Therefore,conserving battery power can provide for longer, uninterrupted operationof the IMD. Many IMDs are operated in what will hereafter be referred toas an “idle state,” that is to say that a certain portion of circuitryin the IMD is shut down or a minimal amount of current is suppliedthereto, in response to that portion not being immediately needed, inorder to conserve power.

The inventors of the present disclosure have developed a scheme forcontrolling the operation of the IMD between the idle state and a wakeup state, which is when a normal current level is provided to themicrocontroller. In general, it should be understood that the normalcurrent level of a given microcontroller is determined by themanufacturer of the microcontroller and the level may vary frommanufacturer to manufacturer. However, for purposes of this disclosure,it is believed sufficient to note that the microcontroller will beprovided with power supply at a first power level in which themicrocontroller essentially receives little to no current and is notexecuting code, and/or the microcontroller is supplied with power at asecond power level so as to perform a desired function such as aprocessing operation.

FIG. 1 illustrates an implantable medical system 8, which includes, forexample, an implantable medical device (“IMD”) 10 that has beenimplanted in a patient 12. The IMD 10 is housed within a hermeticallysealed, biologically inert outer canister or housing, which may itselfbe conductive so as to serve as an electrode in the pacing/sensingcircuit. One or more leads, collectively identified with referencenumeral 14 are electrically coupled to the IMD 10 in a conventionalmanner and extend into the patient's heart 16 via a vein 18. Disposedgenerally near a distal end of the leads 14 are one or more conductiveelectrodes for receiving electrical cardiac signals or deliveringelectrical pacing stimuli to the heart 16. The leads 14 may be implantedwith their distal end situated in either the atrium or ventricle of theheart 16. Although the disclosure is described herein in an embodimentthat includes a cardiac device, it may be advantageously embodied innumerous other types of implantable medical systems in which it isdesirable to optimize the energy consumption of an implanted device witha finite energy source.

With continued reference to FIG. 1, an external programming unit 20 isdepicted for non-invasive communication with the IMD 10 via conventionaluplink and downlink communication channels, which are not described ingreater detail herein so as to avoid unnecessarily obscuring the detailsof the present disclosure. In an embodiment, the programming unit 20 maybe associated with a programming head 22, in accordance withconventional medical device programming systems, for facilitatingtwo-way communication between the IMD 10 and the programmer 20. In manyknown implantable systems, the programming head 22, such as thatdepicted in FIG. 1, is positioned on the patient's body over the implantsite of the device 10 (usually within about 2 to about 3 inches, orequivalently, about 5 to about 8 cm, of skin contact), such that one ormore antennas within the head 22 can send radio frequency (RF) signalsto, and receive radio frequency (RF) signals from, an antenna (notshown) disposed within the hermetic enclosure of the implanted device110 or disposed within a connector block 11 of the device 10, inaccordance with common practice in the art.

FIG. 2 provides a general block diagram of electronic circuitry thatmakes up the IMD 10. The IMD 10 is a device capable of performing avariety of functions, such as delivering electrical stimulation therapyto the patient 12 in accordance with the presently disclosed embodimentof the disclosure. FIG. 2 shows that IMD 10 comprises circuitry forcontrolling the device's pacing and sensing functions. Aspects of theIMD circuitry may be of conventional design, in accordance for example,with what is disclosed in U.S. Pat. No. 5,052,388 issued to Sivula etal. and entitled “Method and Apparatus for Implementing Activity Sensingin a Pulse Generator.” The '388 patent is hereby incorporated byreference herein in its entirety.

To the extent that certain components of the circuitry of the IMD 10 areconventional in their design and operation, such components will not bedescribed herein in detail because it is believed that design andimplementation of such components would be a matter of routine practiceto those of ordinary skill in the art. For example, the circuitry of theIMD 10 shown in FIG. 2 includes sense amplifier circuitry 24,stimulating pulse output circuitry 26, a crystal clock 28, arandom-access memory and read-only memory (RAM/ROM) unit 30, and apacing timing and control circuit in the form of a programmed controlunit 32. The control unit 32 may be a digital signal processingcomponent such as a microprocessor or a microcontroller. While theembodiment of FIG. 2 refers to a digital signal processor-basedarchitecture, it should be noted that other architectures, such as thelogic or state machine architectures or other components or circuitryfor performing a processing function, are contemplated in the presentdisclosure. Such architectures are not discussed in detail herein merelyfor the sake of brevity.

The IMD 10 also includes an internal telemetry communications circuit 34coupled to an antenna 36 so that it is capable of communicating with theexternal programmer/control unit 20. Various telemetry systems forproviding the uplink and downlink communication channels between theexternal programming unit 20 and the IMD 10 have been shown in the artand may be employed herein without departing from the spirit and scopeof the disclosure.

With continued reference to FIG. 2, the IMD 10 is coupled to one or moreleads 14 which, when implanted, extend transvenously between the implantsite of the IMD 10 and the patient's heart 16, as previously noted withreference to FIG. 1. Physically, the connections between the leads 14and the various internal components of the IMD 10 are facilitated by aconventional connector block assembly 11, shown in FIG. 1. Electrically,the coupling of the leads 14 and the internal electrical components ofthe IMD 10 may be facilitated by a lead interface circuit 19, whichfunctions, in a multiplexer-like manner, to selectively and dynamicallyestablish necessary connections between various conductors in the leads14, including, for example, atrial tip and ring electrode conductorsATIP and ARING and ventricular tip and ring electrode conductors VTIPand VRING, and individual electrical components of the IMD 10, as wouldbe familiar to those of ordinary skill in the art. For the sake ofclarity, the specific connections between the leads 14 and the variouscomponents of the IMD 10 are not shown in FIG. 2, although it will beclear to those of ordinary skill in the art that, for example, the leads14 will necessarily be coupled, either directly or indirectly, to senseamplifier circuitry 24 and stimulating pulse output circuitry 26, inaccordance with common practice, such that cardiac electrical signalsmay be conveyed to the sense amplifier circuitry 24, and such thatstimulating pulses may be delivered to cardiac tissue, via the leads 14.

It will be appreciated that the signals received over the leads 14 bythe sense amplifier circuitry 24 may be collected and stored in theRAM/ROM unit 30 by the control unit 32 acting under control of softwarealso stored in the

RAM/ROM unit 30. Additional data, such as the timing of signalsdelivered by the stimulating pulse output circuitry 26 may also bestored in the RAM/ROM unit 30. This stored data may be later retrievedand delivered to the programming unit 20 via the telemetrycommunications circuit 34.

As previously noted, the circuitry of the IMD 10 includes the controlunit 32 which may be an off-the-shelf programmable microprocessor ormicrocontroller, but in the presently illustrated embodiment of thedisclosure is a custom integrated circuit. Although specific connectionsbetween the control unit 32 and other components of the IMD circuitryare not shown in FIG. 2, it will be apparent to those of ordinary skillin the art that the control unit 32 functions to control the timedoperation of the stimulating pulse output circuit 26 and the senseamplifier circuit 24 under control of a program of instructions storedin the RAM/ROM unit 30.

In one embodiment, clock 28 in the presently illustrated embodiment is acrystal controlled oscillator that provides a main timing clock signal(F₀). In another embodiment, the clock 28 may include a clock generatorsuch as a crystal oscillator for providing a first clock signal of onefrequency (F₀) and a programmable frequency divider for generatingmultiple clock signals of different frequencies from the first clocksignal and for outputting one of the multiple clock signals (F₁-F_(n)).Again, the lines over which the aforementioned clock signals areprovided to the various components of the IMD 10 (e.g., the control unit32) are omitted from FIG. 2 for the sake of clarity. It is believed thatthose of ordinary skill in the art will be familiar with such anoperative arrangement.

It is to be understood that the various components of the IMD 10depicted in FIG. 2 are powered by means of a battery 38, which iscontained within the hermetic enclosure of the IMD 10, in accordancewith common practice in the art. For the sake of clarity in thedrawings, the connections between the battery and the other componentsof the IMD 10 are not shown.

Those of ordinary skill in the art will appreciate that the IMD 10 mayinclude numerous other components and subsystems, for example, activitysensors and associated circuitry. The presence or absence of suchadditional components in the IMD 10, however, is not believed to bedirectly pertinent to the disclosure, which relates generally tooptimizing operation of the microcontroller to minimize powerconsumption and promote an extension of the life of the energy source.

Stimulating pulse output circuitry 26, which functions to generatecardiac stimuli under control of signals issued by the control unit 32,may be, for example, of the type disclosed in U.S. Pat. No. 4,476,868 toThompson, entitled “Body Stimulator Output Circuit,” which patent ishereby incorporated by reference herein in its entirety. Again, however,it is believed that those of ordinary skill in the art could select fromamong many various types of prior art pacing output circuits, whichwould be suitable for the purposes of practicing the disclosure. Thesense amplifier circuitry 24, may be, for example, of the type disclosedin U.S. Pat. No. 4,357,943 to Thompson, entitled “Demand CardiacPacemaker Having Reduced Polarity Disparity,” which patent is herebyincorporated by reference herein in its entirety.

Generally, the sense amplifier circuitry 24 functions to receiveelectrical cardiac signals from the leads 14 and to process such signalsto derive event signals reflecting the occurrence of specific cardiacelectrical events, including atrial contractions (P-waves) andventricular contractions (R-waves). These event-indicating signals areprovided to the control unit 32 for use by the control unit 32 incontrolling the synchronous stimulating operations of the IMD 10 inaccordance with common practice in the art. In addition, theseevent-indicating signals, as discussed above, may be communicated, viathe uplink communication channel, to the external programming unit 20for storage and visual display to a physician or clinician.

It is important to note that leadless embodiments of the presentdisclosure are also contemplated, where one or more stimulation and/orsensing electrode capsules or modules are implanted at or near a desiredtarget tissue site, and the capsules or modules deliver electricalstimuli directly to the site using a preprogrammed stimulation regime,and/or the capsules or modules sense electrical or other pertinentsignals.

In addition to the sensed physiologic events, it is contemplated thatadditional activities will give rise to a need for signal processing. Assuch, “events” as used in the present disclosure refer to activities,data handling requests, or other activity that result in a need for aprocessing function being performed by the control unit 32. Examples ofsuch events include an intrinsic sense signal, a pacing pulse, noiseinterference, and numerous other activities, any of which result in aprocessing action to be performed by the control unit 32.

In conventional IMDs, the operation of the control unit typicallyrequires several times more operating power than other circuitry andcomponents in the IMD. The events that trigger the sensing or generationof the event signals to be provided to the control unit 32 to beprocessed generally occur frequently but in an irregular manner.Moreover, each individual event signal is generated at a point in timesubstantially corresponding with the occurrence of the event. Thisoperation causes the event signals to also be provided in acorrespondingly frequent and irregular manner (individually) to thecontrol unit 32 for processing. A further implication of the operationof this conventional operation is that the control unit needs to bealmost perpetually in a wake up state so as to receive the frequent butirregularly occurring events for processing.

However, the inventors of the present disclosure have observed thatmaintaining the control unit 32 in the wake up state for receipt andprocessing of each individual event results in inefficiencies in thepower consumption. This is because the control unit needs to be poweredon (or the power supply sustained) to enable appropriate handling andresponse to the occurrence of each event. As such, the presentdisclosure describes techniques to optimize the operations of thecontrol unit and minimize power consumption.

FIG. 3 illustrates a more detailed illustration of the externalprogrammer/control unit 20. In one embodiment, the programmer/controlunit 20 comprises a computer system 40, a display device 42, and aprocessing unit 44. In one embodiment, the processing unit 44 can beintegrated into the computer system 40. The computer system 40 canprompt the acquisition of physiologic data from the cardiac IMD 10 viathe programming head 22. The computer system 40 can then display thephysiologic data on the display device 44. The display device 44 candisplay physiologic data from the reference point of different timeperiods, different activity results, and the like.

Turning now to FIG. 4, a more detailed block diagram of one embodimentof the IMD 10 is illustrated. Numerous components of IMD 10 known tothose skilled in the art have been omitted for the sake of brevity. Theblock diagram depicts one embodiment of implementing a digital signalprocessor-based power saving technique in an implantable medical devicein accordance with the present disclosure. The control unit 32 performstasks that are dictated by instructions that are stored within the IMD10. The instructions, which comprise programs for execution by thecontrol unit 32, may be stored in the RAM/ROM unit 30. The control unit32 acquires the instructions from the RAM/ROM unit 30 via the bus 50. Inan alternative embodiment, the instructions may be stored in anon-volatile memory 52. In one embodiment, the non-volatile memory 52may comprise an EEPROM, a PROM, a flash memory unit, and/or othernon-volatile memory devices.

In one embodiment, the IMD 10 may include an interrupt module 54 that iscoupled to the control unit 32. The interrupt module 54 provides dataand control signals associated with events to be processed by thecontrol unit 32. In one implementation, the control signals issued bythe interrupt module 54 include an indication that alerts the controlunit 32 that events are available to be processed. Control unit 32performs processing operations of the event data in response toreceiving the control signals rather than handling the events in the adhoc nature in which they arise. The interrupt module 54 further controlsthe supply of power to the control unit 32 so as to ensure that anappropriate amount of power is provided to the control unit 32 forprocessing of the event data associate with the received events. Assuch, the control signals issued by interrupt module 54 provides anindication to the control unit 32 that one or more events that areavailable for processing.

The interrupt module 54 may be programmed to control the number andnature of events that are stored prior to issuing the control signal toalert and provide the event data to the control unit 32. In addition,the duration between the actual occurrence of each individual event andthe issuance of the control signal may be programmed. The duration maybe dependent on the type and nature of the event such that in oneinstance time critical events are processed in a timely manner andnon-critical events are processed in batch, for example. The number ofevents that are stored and the frequency of providing the stored eventdata to the control unit 32 may also be predefined based upon one ormore factors. For instance, critical events may trigger issuance of animmediate alert to initiate processing while other events, such asnon-therapy dependent events may be stored and an alert issued totrigger transfer of the data on a predefined regular interval such, forexample, as every other hour, twice a day, once a week or any other oneor more predefined interval.

The interrupt module 54 may function in conjunction with other circuitryin the IMD 10 to initiate the processing of events. For example, anevent queue (shown in FIGS. 5 and 6) may be utilized for storage of theevents. The instructions to be executed when the events are received maybe stored in a memory unit such as the RAM/ROM unit 30 and delivered viathe bus 50. It is also contemplated that one or more of the memory unitsmay be utilized for storage of the events as they are received.

An additional, optional, aspect of the embodiments may involveregulating a clock signal provided to control unit 32 based on thecontrol signals issued by interrupt module 54. In one implementation,the control unit 32 includes a clock (not shown) that generates a highfrequency signal during or contemporaneously with initiation of the wakeup state but otherwise remains turned off during the idle state. Assuch, the control unit clock will draw sufficient power from the batteryduring the wake up state to generate the high frequency clock althoughthe frequency and duration of generating the high frequency clock—andhence the power drain—is regulated by the issuance of the controlsignals. Thus, significant power savings can be realized by onlygenerating the high frequency signal responsive to the interrupt signaland during the idle state, while holding the power consumption to thebare minimal leakage current drain that may be exhibited by the clock.

Although not shown in the drawings for the sake of brevity, it isfurther contemplated that various embodiments of the disclosure mayutilize multiple clock signals generated by separate clocks, inconjunction with, or solely by the aforementioned clock 28, for example.The multiple clock signals may, for example, include a stream-bus clocksignal and a reference clock signal. In that example, a low frequencysignal may be generated by the reference clock with the low frequencyclock signal being utilized by various IMD components to facilitate thereception of events or during the idle state. Further, in the example, astream-bus clock may generate a low frequency stream-bus clock signalthat is utilized by the IMD circuitry for transmission of the receivedevent data to the event queue. The generation of these multiple clocksignals may further be controlled by the interrupt module 54 as afunction of the receipt of events, transfer of the event data among theIMD components and processing of the event data. In other embodiments,it is contemplated that the control unit may further receive a lowerfrequency clock signal (in relation to the high frequency signal) suchas that generated by the reference clock, during for example the idlestate.

Managing the receipt and prioritization of the events in the interruptmodule 54, as described in this disclosure, eliminates the requirementin conventional IMDs to process each of the events as it is received.The conventional manner of handling and processing the events alsorequires the control units to be powered as each event is received sothat the data associated with the events can be processed. The presentdisclosure obviates the need to power the control unit 32 with eachevent occurrence. By providing power to the control unit 32 in asystematic predetermined fashion, as a function of the events to beprocessed, substantial power savings are achieved. Further, providingthe high frequency clock signal to the control unit only during timeswhen event data is being processed eliminates undue power drain that isotherwise associated with unnecessarily generating the high frequencyclock signal at all times. As such, the present disclosure enables theuser to define specific use parameters and integrate any necessarydesign constraints for a more accurate forecast of the powerconsumption.

In one implementation, the supply of power to the control unit 32 iscontrolled at least partially based on the communications from theinterrupt module 54. For example, in response to criteria being met forthe interrupt module 54 to provide events to the control unit 32 forprocessing, the control unit 32 may transition from a first state to asecond state. The first and second state may be an idle state and a wakeup state, respectively, in one embodiment.

In the idle state the control unit 32 is provided with power at a “firstpower level” in which the control unit 32 essentially consumes little tono current. The idle state corresponds to a duration in which controlunit 32 is not executing instructions or processing data associated withevents and because no processing function is being performed, little orno power needs to be provided to the control unit 32. The wake up statecorresponds to the duration during which the control unit 32 consumes a“second power level” corresponding to a normal power level as defined byits respective manufacturer's operating conditions. In other words, theinterrupt module 54 provides a control signal to the power sourceindicating that the control unit 32 should be switched to the wake upstate in response to criteria for transmitting the events to the controlunit 32 being met. Consequently, the control unit 32 is supplied with anappropriate power level as well as data for which a requested operationis to be performed so as to provide among other things the logicdecisions for operating the IMD 10.

The criteria by which the interrupt module transmits event data to thecontrol unit 32 may comprise synchronous or asynchronously timedtransfers. For example, the criteria may include storing event dataassociated with the events that have occurred during a time window(defined by a pre-specified time interval) and providing the event dataupon expiration of the time window. An alternate criterion may includestoring a predetermined number of events and providing those storedevents to the control unit 32 in response to the number of eventsmatching the predetermined limit. Another criterion may include groupingor classifying events as they occur into a plurality of categories eachcategory having a priority allocation and storing the events to besubsequently provided to the control unit 32 based on the priorityallocation. The priority allocation may signify events that are to beprovided to the control unit 32 immediately, or within a given durationand/or that a predetermined number of events is to be stored andprovided to the control unit 32 once the predetermined limit is reachedand/or that all events or events in a given category are to be providedto the control unit 32 based upon passage of a pre-specified duration.

FIGS. 5 and 6 depict alternative embodiments of an event queue. Theevent queue may be embodied in hardware, software, firmware or acombination of any two or all three. In accordance with the presentdisclosure, the event queue is provided to facilitate the control ofprocessing of events by a control unit. In doing so, power consumptionby the control unit can be optimized. Turning to FIG. 5, an event queue60 may include a head pointer 62, a plurality of data segments 64,(optionally) a plurality of timestamps 66 each of which may correspondto the time of receipt of an associated one of the plurality of datasegments 64, and a tail pointer 68. The event queue 60 may have avariable length which is to say that the plurality of data segments 64may vary from one event queue 60 to another based on the criteriaemployed. In other words, the number of individual data segments 64,each of which corresponds to a location for storage of an individualevent, may be defined by a predetermined number of events. In someembodiments, each of the data segments 64 may be individuallyaddressable to permit various access schemes of the event data such asfirst-in first-out, or first-in last-out, or retrieval based on apriority classification, or some other data access scheme. The headpointer tracks the events stored by hardware, and the tail pointer willtrack the events provided to the control unit 32.

In one embodiment, upon receiving an event, the interrupt module 54stores the event in one of the data segments 64 of the event queue 60.The events may be stored sequentially, randomly, or in any other desiredarrangement. For example, in the first-in first-out scheme, the tailpointer 68 may be moved to the top of the segment stack upon providingthe data in the event queue to the control unit 32 for processing. Inthat example, the head pointer 62 is positioned adjacent to the segmentimmediately following the tail pointer 68 to indicate it as the firstavailable segment for event storage. Upon storing an event in the firstavailable segment, the head pointer 62 is moved to the next availablesegment and so forth. As the event is detected and stored, the interruptmodule will store the pertinent event information in the data segments.The storing of the events in the event queue 60 enables management ofthe flow of events to the control unit 32. The use of the event queue 60modulates the frequency with which the control unit 32 is powered as aresult of processing requests associated with the events.

In an alternative embodiment, each event queue may be time-stamped andmaintained in the event queue 60 in the selected order. The time-stampmay suitably be applied to each event in yet another embodiment.

The interrupt module 54 is programmed in accordance with criteriacorresponding to any one or more of the above discussed criteria togenerate a control signal to manage the power supply to the control unit32 and provide the events in event queue 60 to the control unit 32 forprocessing. For example, the interrupt module 54 will be programmed togenerate the control signal after the number of events in the eventqueue matches the predetermined number of events, in one embodiment. Inother words, in response to the number of events between tail pointer 62and head pointer 68 matching the predetermined number, an interruptoccurs and the firmware executes to gather the event information, andreprograms the location of the tail pointer. This power-saving techniqueprovides the flexibility to control how frequently the control unit 32starts and stops running based on the availability of event information.

FIG. 6 depicts another embodiment of an event queue. Event queue 70 mayinclude a head pointer 62, a plurality of data segments 64, a pluralityof optional timestamps 66, a tail pointer 68, and an optionalclassification code 72.

The elements of event queue 70 corresponding to those of event queue 60,in the embodiment of FIG. 5, are numbered with identical referencedesignators. The reader is referred to the preceding description of FIG.5 for a full discussion pertaining to those components.

In the illustration, the size of each discrete event queue to be actedupon by the control unit 32 is based upon a time interval. As such, thetimestamps 66 may be utilized to determine the events that occurredwithin a given duration. In an alternative embodiment, the timestamps 66a, 66 b may be associated with a first event in a given queue and a lastevent in the given queue with all events occurring between the first andlast event being handled together. In another embodiment, the firstevent is timestamped when it is stored in the event queue 60 with thesubsequent events being written in a first-in, first-out manner andaccessed via the same. The last event is also timestamped to indicatethe address of the last event in that given queue. Thus the event in thefirst data segment will be the first event read out to the control unit32 and the event in the second data segment will be the second eventread, and so on and so forth until the last event is read.

In an alternative embodiment, the classification code 72 identifiescategories of events and the codes associated with each category may beused to prioritize the reading of events in a given queue or in multiplequeues. For example, a first code may be associated with intrinsicsensed signals, a second code associated with pacing pulse signals, anda third code associated with noise interference. In the example,priority of reading the event data may be as follows: the events taggedwith the first code are read and provided to the control unit 32 withinfive (5) microseconds of its occurrence, the events tagged with thesecond code and third code are read and provided to the control unit 32in a first-in, first-out format, except that all the events tagged withthe second code are read and provided before the events tagged with thethird code.

In yet another embodiment, the timestamps 66 and classification code 72may be utilized together such that the classification code denotes theoverall order in which the events are read, and the timestamps 66determines the sequence in which events within each given classificationcode 72 are read.

The interrupt module 54 may be synchronized to a predetermined durationthat corresponds to a wake up interval of the control unit 32. In suchan implementation, the interrupt module 54 provides the eventinformation stored in the event queue corresponding to the predeterminedduration (as a function of the time-stamps). This may be performedirrespective of the number of events that were stored during thecorresponding time interval.

FIG. 7 illustrates a method 100 for event data acquisition. The order inwhich the method is described is not intended to be construed as alimitation, and any number of the described method blocks can becombined in any order to implement the method. Furthermore, the methodcan be implemented in any suitable hardware, software, firmware, orcombination thereof.

At block 102, events are received from various sources includinginternal components, external components, and other devicescommunicatively-coupled to IMD 10. For example, interrupt module 54 mayreceive event data from a memory location in RAM/ROM 30, a sensor on theIMD lead, or the external programmer. The received data may optionallybe categorized at block (104) and subsequently may optionally betime-stamped (106). For the categorization, the event data may belabeled, or otherwise identified, with a source identifier correspondingto the source of each data segment. In one example, data received fromthe sensor may be categorized as ES, while event data received from theprogrammer may be categorized under EP. A timestamp such as “time1”,representing a first time window, or a specific time derived from aclock may be applied for each event.

Further, the event data is identified with a memory address identifiercorresponding to a memory address of the event queue at block (108). Amemory address identifies the data segment as having either headerinformation (head pointer 62), event information (the plurality of datasegments 64), or the tail information (tail pointer 68). At block 110,the event information is written into one of the plurality of datasegments 68 in the predefined data format. At block (112), an interruptsignal is generated in response to a given criteria being met. Forexample, the interrupt signal is generated in response to the first-in,first-out memory component exceeding a threshold number of stored datasegments. As another example, the interrupt signal is generated inresponse to a predetermined duration being met.

At block (114), the event information in the plurality of data segments64 is read out/transferred to the processor. In response to determiningthat all the data segments in the event queue have been read, the memoryaddress identifiers and optionally the tail pointer 68 and head pointer62 may be reset (116).

Referring now to FIG. 8, a flow chart is provided for describing thesteps of utilizing an event queue to optimize the operation of a controlunit to minimize power consumption. The flow chart commences, in theinitial step (120), assuming that the control unit 22 is not executingany code nor processing any events that may have been previouslyprovided. This state may correspond to the aforementioned idle state andthe control unit 22 remains in this state until a control signal isreceived. The interrupt module 54 may issue a control signal which isreceived by the control unit 22 (block 122). Concurrently or subsequentto receiving the control signal, the power source of the IMD 10 isregulated to appropriately power the control unit 22 (block 124). Thetransmission of power at block 122 places the control unit 22 in a wakeup state. In some embodiments, the power supply may be regulated toprovide varying power levels where the variation may depend, forexample, on the classification of event or the event informationavailable in the event queue to be processed. As noted with respect tothe description in FIGS. 5 and 6, the interrupt module 54 will transmitthe event information stored in the event queue to the control unit 22.At block (126), the control unit 22 reads the event data in each of thedata segments 64 in the event queue for transfer to the processor. Thedata is received by the processor and the processor performs therequired processing function (block 128). The read operation isperformed for each data segment until all events have been read (block130). In response to determining the completion of the reading andprocessing of event information for each data segment in the eventqueue, the control unit 22 returns to the idle state to facilitateconservation of power. While the disclosure is susceptible to variousmodifications and alternative forms, specific embodiments thereof havebeen shown by way of example in the drawings and are herein described indetail. It should be understood, however, that the description herein ofspecific embodiments is not intended to limit the disclosure to theparticular forms disclosed, but on the contrary, the intention is tocover all modifications, equivalents, and alternatives falling withinthe spirit and scope of the disclosure as defined by the appendedclaims.

1. An implantable medical device having at least one integrated circuitcomprising: a memory for storing event data associated with one or morereceived events; a control unit for processing the event data; aninterrupt module for controlling transfer of the event data to thecontrol unit; and a power supply for delivering power to the controlunit at a first power level and a second power level, wherein one of thefirst power level and the second power level are delivered in responseto a control signal generated by the interrupt module, and wherein theinterrupt module is configured to generate the control signal forcontrolling the delivery of the first power level and the second powerlevel triggered by transfer of the event data.
 2. The implantablemedical device of claim 1, wherein the memory comprises an event queue.3. The implantable medical device of claim 1, wherein the interruptmodule generates the control signal based on predetermined criteria. 4.The implantable medical device of claim 3, wherein the predeterminedcriteria is selected from the group consisting of a duration, aclassification of received events, and a storage of predefined number ofevents.
 5. The implantable medical device of claim 1, wherein the firstpower level corresponds to an idle state power level.
 6. The implantablemedical device of claim 1, wherein the event data includes aclassification of a received event.
 7. The implantable medical device ofclaim 1, wherein the event data includes a timestamp indicating a timeof receipt of an event.
 8. The implantable medical device of claim 1,further comprising one or more clocks for generating a plurality ofclock signals, wherein one of the plurality of clock signals is outputto the control unit based on the control signal.
 9. The implantablemedical device of claim 8, wherein the plurality of clock signalsincludes a high frequency clock signal and a reference clock signal thatis slower than the high frequency clock signal, and wherein thereference clock signal being output to the control unit during an idlestate power level.
 10. An implantable medical device having at least onepower supply comprising: means for detecting an event; means for storingevent data associated with the event; means for processing the eventdata; means for generating an interrupt signal based on predeterminedcriteria, wherein the event data is provided to the processing meansbased on the interrupt signal; and means for controlling an output ofthe power supplied to the processing means by the power supply based onthe predetermined criteria.
 11. The implantable medical device of claim10, wherein the generating means comprises circuitry for comparing thenumber of stored events to a threshold and generating the interruptsignal based on the events exceeding the threshold.
 12. The implantablemedical device of claim 10, wherein the generating means comprisescircuitry for identifying a given event and generating the interruptsignal based on a classification of the event.
 13. The implantablemedical device of claim 10, wherein the generating means monitors theexpiration of a predetermined time window and generates the interruptsignal at the expiration of the time window in response to storage ofone or more events during the time window.
 14. The implantable medicaldevice of claim 10, wherein the control means controls the output of thepower supply to provide a first power level in response to an idle stateof the processing means and a second power level in response to a wakeup state of the processing means.
 15. The implantable medical device ofclaim 14, wherein the second power level is provided until theprocessing means returns to the idle state.
 16. The implantable medicaldevice of claim 10, further comprising a clock signal output means foroutputting at least two clock signals to the processing means based onthe predetermined criteria, wherein the at least two signals have afirst frequency and a second frequency different from the firstfrequency.
 17. The implantable medical device of claim 16, wherein thefirst frequency is output to the processing means during an idle stateof the processing means.
 18. A method for conserving power in animplantable medical device comprising: receiving an event to beprocessed by a processing component; storing data the event;transferring the event data to the processing component triggered by apredetermined criteria; controlling a power supply to the processingcomponent based on the transfer of the event data.
 19. The method ofclaim 18, wherein controlling the power supply comprises providing afirst power level to the processing component during an idle state andproviding a second power level to the processing component in responseto the transfer of event data to the processing component
 20. The methodof claim 18, wherein the received event includes a signal indicative ofa physiologic event.
 21. The method of claim 18, wherein the events arestored in a sequential manner.
 22. The method of claim 21, furthercomprising generating an interrupt signal based on the predeterminedcriteria.
 23. The method of claim 21, wherein the predetermined criteriaincludes storage of data associated with a predefined number of events.24. The method of claim 21, wherein the predetermined criteria includesexpiration of a predefined time window.